package tao.data.structure.tree;

import java.util.List;

/**
 * To create a ConcreteTree
 */
public class TreeCreation<V> implements PostOrderBuildHandler.Creation<V, V, Tree<V>> {
	@Override
	public Tree<V> create(Tree<V> node, List<Tree<V>> subtree) {
		return(new ConcreteTree<V>(node.getValue(), subtree));
	}
}